package com.qf.czh.comprehensive.service;

import com.qf.czh.comprehensive.Mapper.UserMapper;
import com.qf.czh.comprehensive.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class UserService {
    @Autowired
    UserMapper userMapper;

    public List getUsers(){
       List<User> users =  userMapper.getUsers();
       return users;
    }
}
